{extend name="../../common/view/admin_base"/}

{block name="main"}
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">当前用户</div>
                <div class="layui-card-body layui-text">
                    <table class="layui-table">
                        <colgroup>
                            <col width="200">
                            <col>
                        </colgroup>
                        <tbody>
                        <tr>
                            <td>用户名</td>
                            <td>
                                {$curruser.username}
                            </td>
                        </tr>
                        <tr>
                            <td>上次登录时间</td>
                            <td>
                                {$curruser.lasttime|date='Y-m-d H:i'}
                            </td>
                        </tr>
                        <tr>
                            <td>上次登录IP</td>
                            <td>
                                {$curruser.lastip}
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">基本信息</div>
                <div class="layui-card-body layui-text">
                    <table class="layui-table">
                        <colgroup>
                            <col width="200">
                            <col>
                        </colgroup>
                        <tbody>
                        {volist name="info" id="vo" key="k"}
                        <tr>
                            <td>{$key}</td>
                            <td>
                                {$vo}
                            </td>
                        </tr>
                        {/volist}
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}